package com.develop.data.loan.manager.change.transfer.api;

import com.develop.data.loan.model.LoanContract;

import javax.money.MonetaryAmount;
import java.time.LocalDateTime;

public interface LoanContractStateTransfer {

    public MonetaryAmount preview(LoanContract contract, LocalDateTime localDate);
    public void execute(LoanContract contract, LocalDateTime localDate);
}
